﻿using BCDto.Common.ErrorMessage;
using BCTMSRESTful.Configs;
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;

namespace BCTMSRESTful.Controllers
{
    [ApiExplorerSettings(GroupName = "Default")]
#if DEBUG
    [SwaggerResponse(400, Type = typeof(ErrorMessageDto), Description = "请求参数或输入的数据不正确。")]
    [SwaggerResponse(500, Type = typeof(ErrorMessageDto), Description = "服务器发生错误。")]
    [SwaggerResponse(501, Description = "某些功能尚未实现。")]
#endif
    public class BCTMSRESTfulAPIController : Controller
    {
        public BCTMSRESTfulAPIController()
        {
            LogHelper.Info("收到请求");
        }
    }
}